﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Accountability4net.UnitTests
{
    public partial class PictureForm : Form
    {
        private Image image_;
        public PictureForm()
        {
            InitializeComponent();
        }

        public PictureForm(Image image)
            :this()
        {
            image_ = image;
        }

        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);
            e.Graphics.DrawImage(image_, new Point(0, 0));
        }
    }
}
